﻿/* 
 *  <copyright file="IScreen.cs" company="Wesley Jowitt">
 *  
 *  SobrietyEngine: Copyright (c) 2011 Wesley Jowitt
 *  
 *  This software is distributed under a software license.
 *   * As of the creation time of this file, the license in use is the Microsoft Permissive License (Ms-PL) 
 *    * The license can be viewed at:
 *     * License.Txt in the root folder of this project
 *      * http://sobrietyengine.codeplex.com/license
 *       * http://www.microsoft.com/opensource/licenses.mspx
 *       
 *  </copyright>
 *   */

using System;
namespace SobrietyEngine.Screens
{
    public interface IScreen
    {
        bool Overlay { get; set; }
        bool Active { get; set; }
        bool Visible { get; set; }
        void Draw(Microsoft.Xna.Framework.GameTime gameTime);
        void HandleEvent(SobrietyEngine.Events.Event e);
        void Hide();
        void Initialize();
        bool Initialized { get; set; }
        bool ListenersActive { get; set;}
        SobrietyEngine.Guids.CGuid Owner { get; set; }
        bool Popup { get; set; }
        void Remove();
        bool MarkedForRemoval { get; set; }
        IScreenManager ScreenManager { get; set; }
        void Show();
        bool StealFocus { get; set; }
        void Update(Microsoft.Xna.Framework.GameTime time, Boolean coveredByOtherScreen, IScreen otherScreen);
        Microsoft.Xna.Framework.Graphics.Viewport Viewport { get; set; }
        Microsoft.Xna.Framework.Matrix ViewportTransformation { get; set; }
    }
}
